﻿@model ClinicaDentalApp.Models.PlanDeTratamiento.SesionASessionInputModel

@{
    ViewBag.Title = "AgregarSesion";
}

<h2>AgregarSesion</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


@section scripts{
    <script language="javascript" type="text/javascript">
        $(function () {
            $("#fecha").datepicker(
            {
                dateFormat: "dd/mm/yy",
                yearRange: "-90,-1",
                changeMonth: true,
                changeYear: true
            }
          );
            $("#fecha").val("");
        });
</script>
}
<div style="float: left;">
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <div class="FormHora4">
        @*<h2>SesionASessionInputModel</h2>*@

            @Html.HiddenFor(model => model.IdPlan)

        <div class="editor-label">
            @Html.LabelFor(model => model.Fecha)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Fecha, new { @id = "fecha" })
            @Html.ValidationMessageFor(model => model.Fecha)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AccionClinica)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AccionClinica)
            @Html.ValidationMessageFor(model => model.AccionClinica)
        </div>

@*        <div class="editor-label">
            @Html.LabelFor(model => model.Abono)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Abono)
            @Html.ValidationMessageFor(model => model.Abono)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Saldo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Saldo)
            @Html.ValidationMessageFor(model => model.Saldo)
        </div>*@
        </div> <div class="EspacioBlanco"> </div>
    <div class="FormHora5"> 
        <p>
            <input type="submit" value="Guardar" />
        </p>
    </div>
}
</div>